import tool from 'src/util/tool'
const state = {
  type: null,
  product_id: null,
  typeName: null,

};
const getters = {
  // vroles(state) {
  //   return state.validRole
  // },
}
const mutations = {
  setType(state, type){
    state.type = type
  },
  setProductId(state, product_id){
    state.product_id = product_id
  },
  setTypeName(state, typeName){
    state.typeName = typeName
  }
}
const actions = {
  // addPrice({commit}, num){
  //   commit('addPrice', num)
  // }
}

export default{
    namespaced: true,
  state,
  getters,
  actions,
  mutations
}
